#ifndef _bmp_rw_
#define _bmp_rw_

#include <windows.h>


class BMP_RW
{


public:
    int width;
    int height;
    BYTE* BmpMap;

    BITMAPFILEHEADER BMFileHdr;
    BITMAPINFOHEADER BMInfoHdr;

    bool writeBmp(const char* name);
    bool readBmp(const char* name);

    void freeMem();

};

#endif
